////////////////////////////////////////////////////////////////////////////////
// Z-Day Project File                                                         //
// -------------------------------------------------------------------------- //
// Filename:   /entities/weapons/weapon_9mmpistol/shared.lua                  //
// Type:       Shared                                                         //
// Contents:   "Pistol" SWEP.                                                 //
////////////////////////////////////////////////////////////////////////////////

if ( SERVER ) then AddCSLuaFile( "shared.lua" ) end

SWEP.Base						= "weapon_zd_base"

SWEP.ViewModel					= "models/weapons/v_pist_glock18.mdl"
SWEP.WorldModel					= "models/weapons/w_pist_glock18.mdl"

SWEP.ViewModelFOV				= 75
SWEP.ViewModelFlip				= true
SWEP.IronSightsPos 				= Vector( 4.3, -2, 2.7 )
SWEP.IronSightsAng				= Vector( 0, 0, 0 )

SWEP.SafetyPos					= Vector(1.6253, -12.7378, -1.4437)
SWEP.SafetyAng					= Vector(81.6156, -1.3747, 11.5092)


SWEP.Weight						= 5
SWEP.HoldType					= "pistol"
SWEP.GunSmoke					= true
SWEP.ShowIndividualRounds		= false

SWEP.Primary.Sound				= Sound( "Weapon_Glock.Single" )
SWEP.Primary.Recoil				= 1.8
SWEP.Primary.Damage				= 15
SWEP.Primary.NumShots			= 1
SWEP.Primary.Cone				= 0.02
SWEP.Primary.NoCone				= false
SWEP.Primary.Delay				= 0.19
SWEP.Primary.ClipSize			= 16
SWEP.Primary.DefaultClip		= 16
SWEP.Primary.Automatic			= false
SWEP.Primary.Ammo				= "pistol"

SWEP.Secondary.ClipSize			= -1
SWEP.Secondary.DefaultClip		= -1
SWEP.Secondary.Automatic		= false
SWEP.Secondary.Ammo				= "none"

SWEP.KillString1				= "killed"
SWEP.KillString2				= "with his 9mm Pistol"